package pl.koziolekweb.szkola.BFDziedziczenie;

// BF-Dziedziczenie/Main.java
 
import javax.swing.*;
import java.awt.Color;

public class Main {
    public static void main(String[] args) {
        Point pt = new Pixel(1,1);
        Pixel px = new Pixel(new Color(255,51,102));
        px.translate(5,4).scale(2,3).translate(-1,-3);
        System.out.println("px: " + px);
        System.out.println("pt: " + pt);

        JOptionPane.showMessageDialog(null,
                "<html>px: <font color=\"#FF00FF\">" + px);

        System.exit(0);
    }
}
